﻿--[[
   @brief    descprtion: social panel
   @author   harleyxwang
   @version  1.0
   @date     2016-05-11
--]]

social_panel_desc = 
{
    module_name = "social_panel",
    events = 
    {
        {
            c_event = 
            {
                   
            },
            lua_event = 
            {
                {
                    id = mainframe_event.OPEN_SOCIAL_PANEL,
                    callback = "social_panel_control.open_social_panel"
                },
                {
                    id = banner_event.FOCUS_BANNER_ITEM,
                    callback = "social_panel_control.change_banner_item"
                },
            },            
            reg_service =
            {
                {
                    id = 'i_service_social_mainwnd_is_shown',
                    callback = 'social_panel_control.is_social_panel_show'
                },
                {
                    id = 'i_service_social_mainwnd_get_rc',
                    callback = 'social_panel_control.get_rc'
                },
            },
            lua_file = "social\\social_panel\\control.lua"
        }
    }
}

-- desc_mgr.add(social_panel_desc);
-- ierd_tgp.tpf_ui.Require("social\\social_panel\\control.lua");
